
*{
    padding: 0;
    margin: 0;
}

/* 父元素，承载所有组件 */
/* .container{
    background-color: pink;
} */

/* 播放按键 */

/* 所有播放按键的容器(下面的横框) */
.playContainer{
    bottom: 0;
    /* position: absolute; */
    margin-top: 100px;
    border-top: #cccccc 1px solid;
    border-bottom:#e1e1e1 1px solid;
    width: 100%;
    padding: 12px 0 19px 0;
}

/* 播放暂停键容器 */
.playOrPause {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    background-color: #f4f4f4;
    margin-bottom: 8px;
    margin-left: 50%;
    transform: translate(-50%);
}

.playOrPause:hover{
    background-color: #cdcdcf;
}

/* 播放暂停键图标 */
#play,#pause{
    height: 40%;
    width: 40%;
    position: absolute;
    left:50%;
    top:50%;
    transform:translate(-45%,-50%);
}

/* 暂停键 */
#pause{
    display: none;
    transform:translate(-50%,-50%);
}

/* 按键的两种切换模式 */
.playToPause{
    display: none!important;
}

.playBack{
    display: block!important;
}

.pauseToPlay{
    display: none!important;
}

.pauseBack{
    display: block!important;
}




/* 进度条 */

.loadingContainer{
    height: 6px;
    position: relative;
    display: inline-block;
    width: 100%;
}
#loading{
    width: 467px;
    height: 4px;
    background-color: #cdcdcd;
    left: 50%;
    position: absolute;
    transform: translate(-50%);
}

#loadingRed{
    background-color: #ff4e4e;
    width: 0%;
    height: 4px;
    float: left;
}

#loadingCircle{
    background-color: #ff4e4e;
    border-radius: 50%;
    height: 8px;
    width: 8px;
    float: left;
    margin-left: -2px;
    margin-top: -1.5px;
    display: none;
}

#loading:hover{
    height: 5px;
}

#loading:hover #loadingRed{
    height: 5px;
}

#loading:hover #loadingCircle{
    display: block;
}
/* 圆形唱片 */
.circle{
    height: 500px;
    width: 500px;
    margin: 50px auto;
    margin-bottom: 0;
    background-image: url(../img/唱片.png) no-repeat;
    border-radius: 50%;
    position: relative;
}

.circle img{
    border: 85px solid #2c2c2c;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    animation: row 45s linear 0s infinite;
    animation-play-state: paused;
}

.circle .singer{
    animation-play-state: running;
}

.circle .freezingSinger{
    animation-play-state: paused;
}

.circle img:hover{
    animation-play-state: paused;
}

@keyframes row{
    from{
        transform: rotate(0);
    }
    to{
        transform: rotate(360deg);
    }
}

#soulMusic{
    position: absolute;
    height: 0;
}